projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76eeb3a
)
(x_load_font): Clear all members of FONTP before start filling them.
author
Kenichi Handa
<handa@m17n.org>
Thu, 2 Oct 2003 02:05:42 +0000
(
02:05
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Thu, 2 Oct 2003 02:05:42 +0000
(
02:05
+0000)
src/xterm.c
patch
|
blob
|
history
diff --git
a/src/xterm.c
b/src/xterm.c
index 13f4d0217669603049399616b6dafad90f0116e8..4d4ce822dd0f77c5beb9f73b3d18c799545b4f2d 100644
(file)
--- a/
src/xterm.c
+++ b/
src/xterm.c
@@
-9869,6
+9869,7
@@
x_load_font (f, fontname, size)
/* Now fill in the slots of *FONTP. */
BLOCK_INPUT;
+ bzero (font, sizeof (*font));
fontp->font = font;
fontp->font_idx = i;
fontp->name = (char *) xmalloc (strlen (fontname) + 1);